﻿using System.Collections.Generic;
using System.Xml.Serialization;
using Yun.Response;

namespace Yun.Marketing.Response
{
    [XmlRoot("get_red_envelope_distribution_detail_response")]
    public class GetRedEnvelopeDistributionDetailResponse : YunResponse, IPageResponse
    {
        /// <summary>
        /// 红包拆分明细
        /// </summary>
        [XmlArray("red_envelope_distribution_details")]
        [XmlArrayItem("red_envelope_distribution_detail")]
        public List<RedEnvelopeDistributionDetail> RedEnvelopeDistributionDetails { get; set; }

        [XmlElement("total_item")]
        public long TotalItem { get; set; }
    }
}
